/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class FreightEnum extends StringEnum
{
    public static final String SPPAY_VALUE = "10";
    public static final String RECPAY_VALUE = "30";
    public static final String MONTHPAY_VALUE = "30";
    public static final String OTHERPAY_VALUE = "40";

    public static final FreightEnum spPay = new FreightEnum("spPay", SPPAY_VALUE);
    public static final FreightEnum recPay = new FreightEnum("recPay", RECPAY_VALUE);
    public static final FreightEnum monthPay = new FreightEnum("monthPay", MONTHPAY_VALUE);
    public static final FreightEnum otherPay = new FreightEnum("otherPay", OTHERPAY_VALUE);

    /**
     * construct function
     * @param String freightEnum
     */
    private FreightEnum(String name, String freightEnum)
    {
        super(name, freightEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static FreightEnum getEnum(String freightEnum)
    {
        return (FreightEnum)getEnum(FreightEnum.class, freightEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(FreightEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(FreightEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(FreightEnum.class);
    }
}